package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.NotSaved;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 描述：众包_客户_实体。
 *
 */
@Entity(value="ZhongBaoCustomer", noClassnameStored=true)
public class ZhongBaoCustomer extends BaseMongoEntity{
    private Long memberId;//通讯录归属人
    private Long customerId;//用户实体类ID
    private Long customerParentId;//用户实体类parentId
    private Integer type;//1，推荐，2项目关注，3项目报名。
    @NotSaved
    private String customerName;
    @NotSaved
    private String customerImage;
    @NotSaved
    private String customerMobile;
    public ZhongBaoCustomer() {
    }

    public ZhongBaoCustomer(Long memberId, Long customerId, Integer type) {
        this.memberId = memberId;
        this.customerId = customerId;
        this.type = type;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getCustomerParentId() {
        return customerParentId;
    }

    public void setCustomerParentId(Long customerParentId) {
        this.customerParentId = customerParentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerImage() {
        return customerImage;
    }

    public void setCustomerImage(String customerImage) {
        this.customerImage = customerImage;
    }

    public String getCustomerMobile() {
        return customerMobile;
    }

    public void setCustomerMobile(String customerMobile) {
        this.customerMobile = customerMobile;
    }
}
